package org.ashleygwinnell.snahs;

import org.ashleygwinnell.snahs.err.SnahsException;

public class ExampleUsage 
{
	public static void main (String[] args) throws SnahsException
	{
		// Create a new SimpleHTTPServer
		SimpleHTTPServer server = new SimpleHTTPServer();
		
		// Set a name...
		server.setName("Example Server Name");
		
		// Set a port...
		server.setPort(9800);
		
		// Set the files directory.
		server.setFilesDirectory("files");
		
		// Set the author of the server.
		server.setAuthor("Ashley Gwinnell");
		
		// Start the server.
		server.start();
	}
}